﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPageSemMenu.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Camara_candidato_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script src="../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="../../Scripts/jquery.maskedinput-1.1.4.pack.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#ctl00_ContentPlaceHolder1_txtCPF").mask("999.999.999-99");
    });

</script>
<style type="text/css">
    .acesso
    {
        font: 26px tahoma, arial;
    }
    span 
    {
        font: 12px tahoma, arial;
    }
    input[type=text], input[type=password]
    {
        padding: 5px;
        font: 24px tahoma, arial;
    }
    
    .style2
    {
        width: 133px;
    }
    #tabela 
    {
        margin-top: 10px;
        width: 400px; 
        position: absolute;
        left: 50%;
        margin-left: -200px;                
    }
    
    h2
    {
        text-align: center;
        font: bold 30px Tahoma, Arial;
        color: #0097CC;
        margin-top: 50px;
    }
    
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br /><br />
    <h2>Acesso do Candidato</h2>
    <table align="center" id="tabela">
        <tr>
            <td class="acesso">
                CPF:</td>
            <td>
                <asp:TextBox ID="txtCPF" runat="server" MaxLength="14" Width="180px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="acesso">
                Senha:</td>
            <td>
                <asp:TextBox ID="txtSenha" runat="server" MaxLength="12" Width="120px" 
                    TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td align="right">
                <span>Esqueceu sua senha?
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="esqueceusenha.aspx">Clique aqui</asp:HyperLink></span>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:RequiredFieldValidator ID="RV1" runat="server" ControlToValidate="txtCPF" 
                    Display="None" ErrorMessage="Informe o CPF"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RV2" runat="server" 
                    ControlToValidate="txtSenha" Display="None" ErrorMessage="Informe a senha"></asp:RequiredFieldValidator>
                <asp:ValidationSummary ID="VS1" runat="server" ShowMessageBox="True" 
                    ShowSummary="False" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:ImageButton ID="btnPrimeiroAcesso" runat="server" 
                    ImageUrl="../figuras/bPrimeiroAcesso.gif" 
                    PostBackUrl="CadastroCandidato.aspx" 
                    CausesValidation="False" />
            &nbsp;&nbsp;&nbsp;<asp:ImageButton ID="btnEntrar" runat="server" 
                    ImageUrl="../figuras/bEntrar.gif" 
                    onclick="btnEntrar_Click" />
            </td>
        </tr>
    </table>
</asp:Content>


